<!--# 7. 登录模板 (auth/templates/auth/login.html)-->

{% extends "base.html" %}

{% block content %}
<h2>登录</h2>
<form method="POST">
    <div>
        <label for="username">用户名:</label>
        <input type="text" id="username" name="username" required>
    </div>
    <div>
        <label for="password">密码:</label>
        <input type="password" id="password" name="password" required>
    </div>
    <button type="submit">登录</button>
</form>
{% endblock %}